package com.len.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.*;

/**
 * @author 张言亮
 * @date 2020/6/19.
 * @email 643712137@qq.com
 *
 * 任务详情
 */

@Getter
@Setter
@ToString
@Table(name = "t_task_details")
public class TTaskDetails {
  @Id
  @Column(name = "id")
  private String id;
  /**
   *订单号
   */
  private String orderNo;
  /**
   *样件名称
   */
  private String sampleName;
  /**
   *材料
   */
  private String material;
  /**
   *工艺类型
   */
  private String printing;
  /**
   *数量
   */
  private long quantity;
  /**
   *设计类型
   */
  private String requirement;
  /**
   *后处理
   */
  private String handle;
  /**
   *备注
   */
  private String remark;
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getHandle() {
    return handle;
  }

  public void setHandle(String handle) {
    this.handle = handle;
  }

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }


  public String getSampleName() {
    return sampleName;
  }

  public void setSampleName(String sampleName) {
    this.sampleName = sampleName;
  }


  public String getMaterial() {
    return material;
  }

  public void setMaterial(String material) {
    this.material = material;
  }


  public String getPrinting() {
    return printing;
  }

  public void setPrinting(String printing) {
    this.printing = printing;
  }


  public long getQuantity() {
    return quantity;
  }

  public void setQuantity(long quantity) {
    this.quantity = quantity;
  }


  public String getRequirement() {
    return requirement;
  }

  public void setRequirement(String requirement) {
    this.requirement = requirement;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  @Override
  public String toString() {
    return "TTaskDetails{" +
            "id=" + id +
            ", oderNo=" + orderNo +
            ", sampleName='" + sampleName + '\'' +
            ", material='" + material + '\'' +
            ", printing='" + printing + '\'' +
            ", quantity=" + quantity +
            ", requirement='" + requirement + '\'' +
            ", remark='" + remark + '\'' +
            '}';
  }
}
